package com.ruoyi.erecord.iot.mapper;

import org.apache.ibatis.annotations.Mapper;
import topevery.syn.data.model.GpsData;
import topevery.syn.data.model.StateData;

import java.util.List;
import java.util.Set;

/**
 *
 */
@Mapper
public interface CommonMapper {

    // 查询现有设备列表
    Set<String> getDeviceCode();


    int gpsDatasInsert(List<GpsData> gpsData);

    int gpsDataFill();

    int gpsDataRepeatDel();


    int stateDatasInsert(List<StateData> stateData);

    int stateDataFill();

}
